package com.kmproject.haifu.mvp.model.entity.beans;

import java.util.ArrayList;
import java.util.List;

public class HouseMainBean {
  private  String  title;
  private List<HouseMainItem> houseMainItems;

    public HouseMainBean(String title, List<HouseMainItem> houseMainItems) {
        this.title = title;
        this.houseMainItems = houseMainItems;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<HouseMainItem> getHouseMainItems() {
        return houseMainItems;
    }

    public void setHouseMainItems(List<HouseMainItem> houseMainItems) {
        this.houseMainItems = houseMainItems;
    }

    public static  class HouseMainItem{
      private String code;
      private String itemName;
      private  int imgId;
      private String type;//类型，home、publish、rentshow

        public HouseMainItem(String code, String itemName, int imgId, String type) {
            this.code = code;
            this.itemName = itemName;
            this.imgId = imgId;
            this.type = type;
        }

        public HouseMainItem(String code, String itemName, int imgId) {
            this.code = code;
            this.itemName = itemName;
            this.imgId = imgId;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getImgId() {
            return imgId;
        }

        public void setImgId(int imgId) {
            this.imgId = imgId;
        }

        public String getCode() {
          return code;
      }

      public void setCode(String code) {
          this.code = code;
      }

      public String getItemName() {
          return itemName;
      }

      public void setItemName(String itemName) {
          this.itemName = itemName;
      }
  }
}
